using com.youzu.warh.protocol;

public class CastSkillPool: ProtoPoolBase<CastSkill>
{
    protected override void RecycleChildren(CastSkill data)
    {
        ProtoFactory.Recycle(data.target);
    }

    protected override void ClearNetData(CastSkill data)
    {
        data.heroId = 0;
        data.skillId = 0;
        data.skillLv = 0;
        data.target = null;
    }
}